"""
文件操作

"""
import time

f = open("./test.txt", "r", encoding="UTF-8")
print(type(f))
time.sleep(3)
print(f"读取一行数据： {f.readline()}")

f.close()

with open("./test.txt", "r", encoding="UTF-8") as f:
    print(f.read())
